<template>
  <div>
    <a-config-provider
      :size="useGlobal.size"
      :locale="language[useGlobal.locale].arco"
      global
    >
      <router-view></router-view>
    </a-config-provider>
  </div>
</template>

<script setup lang="ts">
import { useGlobalStore } from "@/store/global";
import { language } from "@/locales/index";
const useGlobal = useGlobalStore();
</script>

<style lang="scss" scoped></style>